﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
//import
using Microsoft.Practices.Unity;
using Microsoft.Practices.Unity.Configuration;
using System.Web.ModelBinding;
using ddcCajamarca.BusinessLogic.AgendaCultural.Service;
using ddcCajamarca.BusinessEntities.AgendaCultural;

namespace ddcCajamarca.Web.Post
{
    public partial class frmListaDeEventos : System.Web.UI.Page
    {
        [Dependency]
        public IEventoBL eventoBL { get; set; }

        protected void Page_Load(object sender, EventArgs e)
        {

        }

        public IEnumerable<Evento> GetEventos()
        {
            //[Control("txtCriterio")]string criteri
            return eventoBL.GetAllEventos();
        }
    }
}